﻿using AutoMapper;
using BaseData.Domain;
using BaseData.Infrastructure.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseData.Infrastructure
{
    public class MapperFile:Profile
    {
        public MapperFile()
        {
            CreateMap<MettingDto, MettingRoom>().ReverseMap();
            CreateMap<MettingBookDto, MettingBooking>().ReverseMap();
            CreateMap<DeptDto, Depts>().ReverseMap();
            CreateMap<ApprovalDTO, Approvals>().ReverseMap();
        }
    }
}
